Skip to content

Apply Version Updates From Current Changes - #13

Open
tomerqodo wants to merge 2 commits into
coderabbit_full_base_apply_version_updates_from_current_changes_pr13from
coderabbit_full_head_apply_version_updates_from_current_changes_pr13
Open

Apply Version Updates From Current Changes#13
tomerqodo wants to merge 2 commits into
coderabbit_full_base_apply_version_updates_from_current_changes_pr13from
coderabbit_full_head_apply_version_updates_from_current_changes_pr13

Conversation

@tomerqodo

@tomerqodo tomerqodo commented Jan 30, 2026

Copy link
Copy Markdown

Benchmark PR from agentic-review-benchmarks#13

Summary by CodeRabbit

Release Notes

  • Bug Fixes

    • Fixed docs.rs build failures affecting documentation generation.
  • Chores

    • Patch version updates across Tauri CLI, Build, Runtime, Plugin, and Bundler crates.
    • Updated internal dependency versions for consistency.
    • Note: tauri-macos-sign 2.3.0 includes changes to error handling that may impact custom error implementations.

@tomerqodo

Copy link
Copy Markdown
Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Feb 2, 2026

Copy link
Copy Markdown
✅ Actions performed

Review triggered.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@coderabbitai

coderabbitai Bot commented Feb 2, 2026

Copy link
Copy Markdown
📝 Walkthrough

Walkthrough

This patch release updates multiple Tauri crates with version bumps and dependency upgrades. The tauri-macos-sign crate introduces a breaking change by exporting a custom Error enum instead of using anyhow. Docs.rs build failures are resolved across several crates, and changelog entries document these changes.

Changes

Cohort / File(s) Summary
Changelog cleanup
.changes/docsrs.md, .changes/macos-codesign-error-enum.md
Removed changelog entries for patch fixes; files consolidated into formal CHANGELOG.md updates.
CHANGELOG updates
crates/tauri-build/CHANGELOG.md, crates/tauri-bundler/CHANGELOG.md, crates/tauri-cli/CHANGELOG.md, crates/tauri-macos-sign/CHANGELOG.md, crates/tauri-plugin/CHANGELOG.md, crates/tauri-runtime/CHANGELOG.md, crates/tauri-runtime-wry/CHANGELOG.md, crates/tauri/CHANGELOG.md, packages/cli/CHANGELOG.md
Added version entries (2.5.1, 2.7.1, 2.9.1, 2.3.0) documenting bug fixes for docs.rs builds, dependency upgrades, and breaking change in tauri-macos-sign error handling.
Package version bumps
crates/tauri-build/Cargo.toml, crates/tauri-bundler/Cargo.toml, crates/tauri-cli/Cargo.toml, crates/tauri-macos-sign/Cargo.toml, crates/tauri-plugin/Cargo.toml, crates/tauri-runtime/Cargo.toml, crates/tauri-runtime-wry/Cargo.toml, crates/tauri/Cargo.toml, packages/cli/package.json
Version increments across crates (patch and minor bumps) with corresponding dependency version updates (tauri-macos-sign 2.2.0→2.3.0, tauri-bundler 2.7.0→2.7.1, etc.).
Schema and metadata updates
crates/tauri-cli/config.schema.json, crates/tauri-cli/metadata-v2.json, crates/tauri-schema-generator/schemas/config.schema.json
Updated schema IDs and metadata version strings from 2.9.0 to 2.9.1; metadata-v2.json reflects all crate version bumps.
Error handling refactoring
crates/tauri-macos-sign/src/lib.rs
Replaced thiserror derive with manual Debug, Display, and std::error::Error trait implementations; adjusted error message formatting and notarization status check logic; fixed app_bundle_path placement in zip_args construction.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Poem

🐰 Version bumps dancing in the night,
Errors exported, now shining bright,
Docs.rs happy, no more builds that fail,
Five crates and more, a minor tale—
Patch by patch, we hop the way! 🥕✨

🚥 Pre-merge checks | ✅ 2 | ❌ 1
❌ Failed checks (1 warning)
Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'Apply Version Updates From Current Changes' directly relates to the main changeset, which consists entirely of version bumps across multiple Cargo.toml files, CHANGELOG.md updates, schema files, and metadata files throughout the Tauri project.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch coderabbit_full_head_apply_version_updates_from_current_changes_pr13

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@tomerqodo

Copy link
Copy Markdown
Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Feb 2, 2026

Copy link
Copy Markdown
✅ Actions performed

Review triggered.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 4

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (2)
crates/tauri-macos-sign/src/lib.rs (2)

232-246: ⚠️ Potential issue | 🟠 Major

Potential logic error in notarization status handling when not waiting.

The condition submit_output.status.map_or(wait, |s| s == "Accepted") has the following behavior:

wait status Result Expected
true None true (success) Should require "Accepted"
true "Accepted" true (success)
false None false (error) Should succeed (per comment on line 232)
false "Accepted" true (success)

Per the comment "status is empty when not waiting", when wait=false the status is typically None. With this logic, the code would fall into the error branch and attempt to fetch the notarytool log, rather than printing the "Not waiting for notarization to finish" messages.

Consider whether the condition should be map_or(!wait, |s| s == "Accepted") to handle the non-waiting case correctly.

🐛 Suggested fix
     // status is empty when not waiting for the notarization to finish
-    if submit_output.status.map_or(wait, |s| s == "Accepted") {
+    if submit_output.status.map_or(!wait, |s| s == "Accepted") {
       println!("Notarizing {log_message}");

168-179: ⚠️ Potential issue | 🔴 Critical

Fix ditto argument order: source must come before destination zip.

The ditto -c -k command for creating PKZip archives requires <src> <dst.zip> order. The current code has these reversed—zip_path (the destination archive) is placed before app_bundle_path (the source directory). This will cause the command to fail.

Correct order: -c -k --keepParent --sequesterRsrc app_bundle_path zip_path

🤖 Fix all issues with AI agents
In `@crates/tauri-build/CHANGELOG.md`:
- Around line 5-8: Update the changelog entry text "No user facing changes." to
hyphenate the adjective by changing it to "No user-facing changes." — locate the
string in the entry referencing commit 4b6b8690a / PR `#14347` and replace the
unhyphenated phrase with the hyphenated form.

In `@crates/tauri-macos-sign/CHANGELOG.md`:
- Around line 3-7: The CHANGELOG entry contains a bare URL
"https://github.com/tauri-apps/tauri/pull/14126" which violates markdownlint
MD034; update the line in the 2.3.0 Enhancements block to wrap that URL in
explicit link syntax (e.g., [PR
`#14126`](https://github.com/tauri-apps/tauri/pull/14126) or similar) so the URL
is not bare while preserving the existing text and reference to the PR/commit.

In `@crates/tauri-macos-sign/src/lib.rs`:
- Line 20: Remove the unused thiserror dependency from Cargo.toml: open
Cargo.toml and delete the thiserror entry from [dependencies] (or move it to
[dev-dependencies] only if still used in tests), since the crate no longer
derives Error with thiserror and the Error enum in lib.rs implements Display and
std::error::Error manually; ensure Cargo.lock / cargo build succeeds after
removing the entry to verify no remaining references to thiserror exist.

In `@crates/tauri-plugin/CHANGELOG.md`:
- Line 7: Update the changelog entry text to hyphenate the compound adjective
"user facing" to "user-facing" in the line containing the commit reference
`4b6b8690a` (the entry starting "Fixed an issue that caused docs.rs builds to
fail. No user facing changes."); edit that sentence so it reads "No user-facing
changes."
🧹 Nitpick comments (1)
crates/tauri-macos-sign/src/lib.rs (1)

80-90: Incomplete source() coverage may affect error chain introspection.

The source() implementation only returns the underlying error for 4 variants (TempDir, FailedToUploadApp, CommandFailed, Fs), but several other variants also wrap errors that could be exposed:

  • Plist { error, .. } wraps plist::Error
  • X509Certificate { error } wraps X509CertificateError
  • FailedToCreateSelfSignedCertificate { error } wraps AppleCodesignError
  • FailedToEncodeDER { error } wraps std::io::Error

If error chain introspection is important for debugging or logging, consider exposing these sources as well.

♻️ Suggested enhancement for complete source coverage
 impl std::error::Error for Error {
   fn source(&self) -> Option<&(dyn std::error::Error + 'static)> {
     match self {
       Error::TempDir(e) => Some(e),
       Error::FailedToUploadApp { error } => Some(error),
       Error::CommandFailed { error, .. } => Some(error),
       Error::Fs { error, .. } => Some(error),
+      Error::Plist { error, .. } => Some(error),
+      Error::X509Certificate { error } => Some(error),
+      Error::FailedToCreateSelfSignedCertificate { error } => Some(error.as_ref()),
+      Error::FailedToEncodeDER { error } => Some(error),
       _ => None,
     }
   }
 }

Comment on lines +5 to +8
### Bug Fixes

- [`4b6b8690a`](https://www.github.com/tauri-apps/tauri/commit/4b6b8690ab886ebdf1307951cffbe03e31280baa) ([#14347](https://www.github.com/tauri-apps/tauri/pull/14347) by [@FabianLars](https://www.github.com/tauri-apps/tauri/../../FabianLars)) Fixed an issue that caused docs.rs builds to fail. No user facing changes.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Hyphenate “user-facing”.

Minor grammar polish in the new entry.

✍️ Suggested edit
- Fixed an issue that caused docs.rs builds to fail. No user facing changes.
+ Fixed an issue that caused docs.rs builds to fail. No user-facing changes.
🧰 Tools
🪛 LanguageTool

[style] ~7-~7: Consider using a different verb for a more formal wording.
Context: ...com/tauri-apps/tauri/../../FabianLars)) Fixed an issue that caused docs.rs builds to ...

(FIX_RESOLVE)


[grammar] ~7-~7: Use a hyphen to join words.
Context: ...t caused docs.rs builds to fail. No user facing changes. ## [2.5.0] ### New Fe...

(QB_NEW_EN_HYPHEN)

🤖 Prompt for AI Agents
In `@crates/tauri-build/CHANGELOG.md` around lines 5 - 8, Update the changelog
entry text "No user facing changes." to hyphenate the adjective by changing it
to "No user-facing changes." — locate the string in the entry referencing commit
4b6b8690a / PR `#14347` and replace the unhyphenated phrase with the hyphenated
form.

Comment on lines +3 to +7
## \[2.3.0]

### Enhancements

- [`f59bf9d53`](https://www.github.com/tauri-apps/tauri/commit/f59bf9d5392ffd209e26ce5259c26d1acc31c4ba) ([#14337](https://www.github.com/tauri-apps/tauri/pull/14337) by [@FabianLars](https://www.github.com/tauri-apps/tauri/../../FabianLars)) **Potentially breaking change:** Export custom Error enum instead of using anyhow. The changes happened in https://github.com/tauri-apps/tauri/pull/14126.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Fix bare URL to satisfy markdownlint (MD034).

Line 7 includes a bare URL; wrap it in link syntax.

📝 Suggested fix
-- [`f59bf9d53`](https://www.github.com/tauri-apps/tauri/commit/f59bf9d5392ffd209e26ce5259c26d1acc31c4ba) ([`#14337`](https://www.github.com/tauri-apps/tauri/pull/14337) by [`@FabianLars`](https://www.github.com/tauri-apps/tauri/../../FabianLars)) **Potentially breaking change:** Export custom Error enum instead of using anyhow. The changes happened in https://github.com/tauri-apps/tauri/pull/14126.
+- [`f59bf9d53`](https://www.github.com/tauri-apps/tauri/commit/f59bf9d5392ffd209e26ce5259c26d1acc31c4ba) ([`#14337`](https://www.github.com/tauri-apps/tauri/pull/14337) by [`@FabianLars`](https://www.github.com/tauri-apps/tauri/../../FabianLars)) **Potentially breaking change:** Export custom Error enum instead of using anyhow. The changes happened in [`#14126`](https://github.com/tauri-apps/tauri/pull/14126).
🧰 Tools
🪛 markdownlint-cli2 (0.20.0)

[warning] 7-7: Bare URL used

(MD034, no-bare-urls)

🤖 Prompt for AI Agents
In `@crates/tauri-macos-sign/CHANGELOG.md` around lines 3 - 7, The CHANGELOG entry
contains a bare URL "https://github.com/tauri-apps/tauri/pull/14126" which
violates markdownlint MD034; update the line in the 2.3.0 Enhancements block to
wrap that URL in explicit link syntax (e.g., [PR
`#14126`](https://github.com/tauri-apps/tauri/pull/14126) or similar) so the URL
is not bare while preserving the existing text and reference to the PR/commit.

pub use provisioning_profile::ProvisioningProfile;

#[derive(Debug, thiserror::Error)]
#[derive(Debug)]

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Check if thiserror is used anywhere in the tauri-macos-sign crate
rg -n "thiserror" crates/tauri-macos-sign/

Repository: agentic-review-benchmarks/tauri-combined-coderabbit

Length of output: 148


🏁 Script executed:

#!/bin/bash
# Also check the Cargo.toml to see if thiserror is listed as a dependency
cat crates/tauri-macos-sign/Cargo.toml | grep -A 5 -B 5 "thiserror"

Repository: agentic-review-benchmarks/tauri-combined-coderabbit

Length of output: 360


🏁 Script executed:

#!/bin/bash
# Check if there are any use statements or imports of thiserror
rg -n "use.*thiserror|from.*thiserror|thiserror::" crates/tauri-macos-sign/

Repository: agentic-review-benchmarks/tauri-combined-coderabbit

Length of output: 77


Remove the unused thiserror dependency from Cargo.toml.

The thiserror crate is listed in Cargo.toml but is no longer used in the crate since the Error enum now uses manual Display and std::error::Error implementations instead of the thiserror derive macro. Remove it from the dependencies to eliminate unnecessary bloat.

🤖 Prompt for AI Agents
In `@crates/tauri-macos-sign/src/lib.rs` at line 20, Remove the unused thiserror
dependency from Cargo.toml: open Cargo.toml and delete the thiserror entry from
[dependencies] (or move it to [dev-dependencies] only if still used in tests),
since the crate no longer derives Error with thiserror and the Error enum in
lib.rs implements Display and std::error::Error manually; ensure Cargo.lock /
cargo build succeeds after removing the entry to verify no remaining references
to thiserror exist.


### Bug Fixes

- [`4b6b8690a`](https://www.github.com/tauri-apps/tauri/commit/4b6b8690ab886ebdf1307951cffbe03e31280baa) ([#14347](https://www.github.com/tauri-apps/tauri/pull/14347) by [@FabianLars](https://www.github.com/tauri-apps/tauri/../../FabianLars)) Fixed an issue that caused docs.rs builds to fail. No user facing changes.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Hyphenate “user-facing”.

Compound adjective should be hyphenated.

✏️ Proposed fix
-... Fixed an issue that caused docs.rs builds to fail. No user facing changes.
+... Fixed an issue that caused docs.rs builds to fail. No user-facing changes.
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
- [`4b6b8690a`](https://www.github.com/tauri-apps/tauri/commit/4b6b8690ab886ebdf1307951cffbe03e31280baa) ([#14347](https://www.github.com/tauri-apps/tauri/pull/14347) by [@FabianLars](https://www.github.com/tauri-apps/tauri/../../FabianLars)) Fixed an issue that caused docs.rs builds to fail. No user facing changes.
- [`4b6b8690a`](https://www.github.com/tauri-apps/tauri/commit/4b6b8690ab886ebdf1307951cffbe03e31280baa) ([`#14347`](https://www.github.com/tauri-apps/tauri/pull/14347) by [`@FabianLars`](https://www.github.com/tauri-apps/tauri/../../FabianLars)) Fixed an issue that caused docs.rs builds to fail. No user-facing changes.
🧰 Tools
🪛 LanguageTool

[style] ~7-~7: Consider using a different verb for a more formal wording.
Context: ...com/tauri-apps/tauri/../../FabianLars)) Fixed an issue that caused docs.rs builds to ...

(FIX_RESOLVE)


[grammar] ~7-~7: Use a hyphen to join words.
Context: ...t caused docs.rs builds to fail. No user facing changes. ## [2.5.0] ### Depend...

(QB_NEW_EN_HYPHEN)

🤖 Prompt for AI Agents
In `@crates/tauri-plugin/CHANGELOG.md` at line 7, Update the changelog entry text
to hyphenate the compound adjective "user facing" to "user-facing" in the line
containing the commit reference `4b6b8690a` (the entry starting "Fixed an issue
that caused docs.rs builds to fail. No user facing changes."); edit that
sentence so it reads "No user-facing changes."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant